import {createRouter,createWebHashHistory} from 'vue-router'

import edit from '../components/edit.vue'
import show from '../components/show.vue'


let router = createRouter({
    history:createWebHashHistory(),
    routes:[
        {path:"/",redirect:"/edit"},{path:"/edit",component:edit},{path:"/show",component:show}
    ]
})

export default router;